- 
		Home
	
 
	- 
Simply Static – The Static Site Generator
 
- 
3.5.0 (latest)
 
- 
Code
 
- 
Classes
 
-  Admin_Settings 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											146 | 
										
																			
											| Dependencies | 
											11 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,494 | 
										
																			
											| Lines of code | 
											1,017 | 
										
																			
											| Logical lines of code | 
											451 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											252 | 
										
																			
											| Methods | 
											37 | 
										
																			
											| Properties | 
											2 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 37
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| add_settings_scripts() | 
									B  | 
																	32 | 
													16 | 
													102 | 
							
					
				| save_settings() | 
									B  | 
																	41 | 
													16 | 
													52 | 
							
					
				| rest_api_init() | 
									A  | 
																	29 | 
													2 | 
													200 | 
							
					
				| get_crawlers() | 
									A  | 
																	49 | 
													9 | 
													28 | 
							
					
				| add_menu() | 
									A  | 
																	40 | 
													5 | 
													69 | 
							
					
				| filter_view_site_link() | 
									A  | 
																	52 | 
													8 | 
													24 | 
							
					
				| start_export() | 
									A  | 
																	48 | 
													7 | 
													31 | 
							
					
				| reset_settings() | 
									S  | 
																	33 | 
													1 | 
													119 | 
							
					
				| maybe_handle_cancel_export() | 
									S  | 
																	52 | 
													7 | 
													23 | 
							
					
				| check_system_status_passed() | 
									S  | 
																	56 | 
													7 | 
													17 | 
							
					
				| trigger_cron() | 
									S  | 
																	49 | 
													6 | 
													31 | 
							
					
				| reset_background_queue() | 
									S  | 
																	53 | 
													6 | 
													21 | 
							
					
				| get_sites() | 
									S  | 
																	46 | 
													4 | 
													38 | 
							
					
				| get_post_types() | 
									S  | 
																	53 | 
													5 | 
													23 | 
							
					
				| get_export_type() | 
									S  | 
																	53 | 
													4 | 
													23 | 
							
					
				| get_settings() | 
									S  | 
																	58 | 
													4 | 
													16 | 
							
					
				| maybe_disable_admin_canonical() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| get_active_plugins() | 
									S  | 
																	58 | 
													4 | 
													14 | 
							
					
				| update_from_network() | 
									S  | 
																	56 | 
													3 | 
													18 | 
							
					
				| get_active_themes() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| check_if_can_run_export() | 
									S  | 
																	60 | 
													2 | 
													14 | 
							
					
				| get_pages_slugs() | 
									S  | 
																	59 | 
													2 | 
													14 | 
							
					
				| get_pages() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| get_instance() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| get_system_status() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| cancel_export() | 
									S  | 
																	63 | 
													2 | 
													9 | 
							
					
				| pause_export() | 
									S  | 
																	63 | 
													2 | 
													9 | 
							
					
				| resume_export() | 
									S  | 
																	63 | 
													2 | 
													9 | 
							
					
				| __construct() | 
									S  | 
																	64 | 
													1 | 
													9 | 
							
					
				| render_settings() | 
									S  | 
																	83 | 
													1 | 
													5 | 
							
					
				| reset_diagnostics() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| reset_database() | 
									S  | 
																	67 | 
													1 | 
													7 | 
							
					
				| migrate_settings() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| clear_log() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_activity_log() | 
									S  | 
																	65 | 
													1 | 
													9 | 
							
					
				| get_export_log() | 
									S  | 
																	66 | 
													1 | 
													8 | 
							
					
				| is_running() | 
									S  | 
																	65 | 
													1 | 
													9 |